Added support for dashed lines (support varies by browser)

Dashed lines can be added using the `strokeDash` and `strokeDashOffset` properties