minor mod to javascript link to accomodate ssl