fix some js note