Documented draw.js