jQuery adapted to work in Titanium Appcelerator