a sokoban game in javaScript, good practice of event handling.