Base: Move inline IEMobile JS to main.js