Document draw.js