bringing show event to js