Import into eclipse, fix a bit of Cordova template weirdness