Let JavaScript can be referenced in HTTPS

Fix issue #2
Merge pull request #3 from changyuheng/pr-https-js

Let JavaScript can be referenced in HTTPS