Allow https in remote.js