added comments to mobile.js