This is a javascript function that traverses a JSON object however deep it is… This is important when you want to do a search on each of the elements of an object, see here https://jsfiddle.net/kyk5zf6y/ and https://gist.github.com/McKabue/a6aa13374f0997024c760101a23566d2  

jQuery plugin to dynamically register events on dynamically added items ondemand