Orientation plugin for Cordova 3+