removed protocol from remote js references to avoid mixed protocol errors