Update board.js to possibly have ERASE CANVAS setting, and fix google chrome error

thought it needed a basic wipe of the whiteboard, and fix the google chrome issue when you write a line halfway through