update with user agent detector code

http://detectmobilebrowser.com/