Now JS errors are stored in an array.