code: function() {
  
                  // Adapted from http://www.detectmobilebrowsers.com
                  var ua = navigator.userAgent || navigator.vendor || window.opera;
  
                  // Checks for iOs, Android, Blackberry, Opera Mini, and Windows mobile devices
                  return (/iPhone|iPod|iPad|Silk|Android|BlackBerry|Opera Mini|IEMobile/).test(ua);
  
              }
docs: **isMobile**: Function to determine if a user's browser is a mobile browser