changed to use full example

We should sync with @gorkem , in a cordova CLI generated app, the ` app.initialize() ` is indeed in the js file but in a Eclipse Thym generated project the `app.initialize()` is called in the html. I think Thym should align with the Cordova CLI layout.