On node.js use jsdom

Pickup modifications on vex.js from bpartridge/vexflow@08d9f2c844ea4115c09c5c3d2a4b2c38df68c037