to be used with phonegap builder