more helpful stupid-friendly index.js

CB-7973
https://issues.apache.org/jira/browse/CB-7973

3:07:37 PM	regedit:  i did actually look at index.js at first, but it seemed a little daunting so i put it aside and started coding my own stuff
3:08:25 PM	regedit:  i saw this 'app' object and calling .initialize() on it, and for some reason I thought it must be some internal cordova stuff i must read about elsewhere
3:08:43 PM	regedit:  didnt realize this 'app' object was all defined right then & there
3:09:01 PM	regedit:  thought it might be set up from inside cordova.js or whatnot...
3:09:11 PM	regedit:  gave up on it, wrote my own js
3:09:23 PM	timeless:  so, if you can think about a way for that block of code that you did look at
3:09:24 PM	regedit:  maybe index.js can be more stupid friendly?
3:09:26 PM	timeless:  and did quickly discard
3:09:39 PM	timeless:  could have been more friendly to prevent you from doing what you did
3:09:43 PM	timeless:  i'm open to changes
3:11:20 PM	timeless:  hrm
3:11:31 PM	timeless:  yeah. js/index.js really isn't stupid-friendly
3:11:34 PM	timeless:  please file a bug
3:11:57 PM	regedit:  here http://hastebin.com/rugelupena.js
3:12:33 PM	regedit:  my amateur newly proposed index.js :D
3:13:19 PM	 timeless nods
3:13:31 PM	timeless:  the problem is that their code was designed to be pluggable and object oriented
3:13:50 PM	timeless:  which is well... nice and all, but... makes it hard to figure out what's important
3:14:38 PM	regedit:  at least from a newcomer point of view, yeah. many (most?) newcomers dont even care much about OO
3:14:53 PM	regedit:  if you want to appeal to them, it must be stupider
perhaps compare to jQuery $(document).ready()