FIXES AS PER COMMETNS ON : http://coenraets.org/blog/phonegap-tutorial/
Particularly :
 There is some code which didn’t work for me, like calling methods within event handlers.
So I had to wrap them within anonymous functions and also give them context.
For example this event handler this.el.on(‘keyup’, ‘.search-key’, this.findByName);
had to be written like var that = this; this.el.on(‘keyup’, ‘.search-key’, function(){that.findByName();});