Log js errors.