building a browser-based 3d sandbox game without three.js