making a second pass at programming a chess game with javascript in the browser