[update] modified draw.js so it can handle assets