Reverting as phonegap screwed up with external js files