Sandbox JS code for Draw