sleep.js for sleeping
added 20 milisecond sleep to javascript
removed non functional sleep.js file
got rid of draw_graph function
replaced draw_graph with var graph