adding demo code for detecting a mobile device or mobile browser, using the JavaScript library http://detectmobilebrowsers.com/