[javascript] Passing 'this' to an onclick event