JS and CSS resources will now match the same protocol as the url