Draw a bezier curve on the HTML5 canvas

Fetches the canvas element. Creates a 2D context. Creates the start point of the path, then creates the bezier path. Finally it sets the bezier curve stroke to green.