fixed some js errors