Added proper phonegap running