ERRAI-475 now cordova javascript gets injected automatically updated the demo to use this feature