Updated to use js-module plugin syntax for Cordova 3