Small typo fix in fatal JS error message

An javascript error -> A javascript error