updated some js