Adding a mobile.js for mobile functions