allow href to be overridden on client side