When developing a mobile application, use the supported application development environments.
PhoneGap 2.0 (http://www.phonegap.com/)