remove last link
remove commented out prevent default on events