Make share.js and https good friends