Enable optimizations because the scripts are not loading in http only in https.