changed result href from dummy link to javascript event