This is the basecode for my future LD games in HTML5/Javascript.