BUG: make package work when mpld3 JS global is set
Merge pull request #154 from jakevdp/js-global-error

BUG: make package work when mpld3 JS global is set