Boiler plate phonegap application