Adding draw creation to app.js.