fix map script url to work with https