bind initialize to both gap and jqm ready

** phonegap stuff was called before it finished loading
**this commit is before we modify javascript files