Added $target option

Specify a $target element for which to append the canvas element. Otherwise the svg/canvas element might not respect z-index setting.