Changed JS event to react to.