Javascript Implementation of Bomberman