js improved