Integrated device.js and CSS browser selector to work together