js errors removed