How to create a link that triggers a Javascript command