minor mod to javascript url to accomodate ssl