Trying to create phonegap application