Scripting Updates

Moved PhoneGap API Calls and added refresh bug warning