removed protocols from JS files