Work on js errors