moving stuff to public/javascripts/draw.js
Merge pull request #4 from bastinat0r/new_frontend_routines

moving stuff to public/javascripts/draw.js