Started designing and fleshing out the js portion of the canvas demo.