reverting back to old version
trying another approach
trying another approach
added fucking reference to phonegap.js