Create a shadow on an element on the HTML5 canvas

Example of how you can create a shadow on an element on the HTML5 canvas.