attempting to make plugin cordova 3 enabled