Made the end event backwards compatible
Updated JSTest version