Fixed eraser, added js file for potential scaling