javascript event change to click