js Errors feature test fix