Get Cordova app working with Require and StructureJS