small tweak when link clicked

add preventDefault when link clicked, get the real hidden form when submiting