fixed typo; adjusted canvas
moved js to html
debugging