[javascript] How can I programmatically invoke an onclick() event from a anchor tag while keeping the ‘this’ reference in the onclick function?