HTML5 Canvas Tutorial Draw Lines and Filled Shapes Using Javascript