Switched mobile device detection from CSS3 media queries to JavaScript; Fixed viewport meta tag values to render correctly on iPad as well, especially when turning iPad into 'landscape' orientation.