updated some js shit