href to onclick