Alerts and Phonegap.js

Added support for native alerts