Detecting mobile devices with JS as seen at: http://www.abeautifulsite.net/blog/2011/11/detecting-mobile-devices-with-javascript/