Fix moment.js slow on https