fork of jacomyal/sigma.js