Upgrade phonegap plugins with new cordova@3.5.0-0.2.7.
Employ IIFE in the home script.