Update draw.js