JS events solution added.