draw.js with printed values