This is my first attempt for Titanium Appcelerator version of PhoneGap