report and test js errors