Empty arrays yield invalid SVGs

A problem with the existing paper.js code would result in empty arrays yielding invalid attribute values, e.g. `stroke-dash-array=""`. This fixes that such that empty arrays yield e.g. `stroke-dash-array="none"` instead, which is valid SVG.