added boardstate.js to the html