Update sgp.mobile.js

Strip out a bunch of code needed for web.