fix some js