JS script was moved to errorUtils.js