[javascript] How to call an action after click() in Jquery?