ENH: use https by default for javascript urls

This makes mpld3 "just work" in ipython sessions that are served securely via https, without breaking plots loaded locally via "file://" urls.

Thanks to @aebrahim for a bug fix which I took from PR #124.

This closes Issue #124.