Draws block on canvas and redraws it after time out.
removed hello world alert
refactored into multiple files and moved into javascript directory