merged web-tgt-mobile stuff into mustard.js