Updated title and minor typo fix
Raise an exception on a fatal js error