Changed JS event to click rather than change