[javascript] How to use a link to call JavaScript?