Update main.js

added functionality for a reset button and a black drawing button