Update relative URL creation for non-webkit