Use external device-orientation.js