Ability to handle JS errors