Update paint.js

cleanup