Added reply js event