open JavaScript 2D game foundation