Added French translation for JavaScript.

:fr:
"erreur" (singulier)