Path simplification would be nice to have incorporated in here. I am currently using the implementation: http://mourner.github.io/simplify-js/