add width check to demo page and implement requirejs for tm.js
Merge branch 'master' of https://github.com/AuthoringUI/shared-ui