Board Game using HTML5 and Javascript