Phonegap 3.2 device orientation plugin