Parse SVG number lists in JavaScript.