Change from HTTP to HTTPS for assets, remove some unused JS