Added https support to generous.js script.