Sokoban game in javascript