A native Javascript plugin to detect the browser and device type