edit paint.js file