syntax fix & browser soc close event