hooking up device.js to detect whether phone or desktop (tablet uses desktop)