implement default click event for links without href