more infrastructure

added global.js, hud display, touch support, CocoonJS compatibility