Use Modernizr.touch as better touch device detection. Falls back to a private copy if window.Modernizr.touch is not available.