sharing stuff, #4 added detectmobile.js