use the sap.ui.Device API instead of jQuery plugin