Update main.js

Hello, 

This a simple update of special characters to replace. A lot of french and spanish usual characters have been added.

I tested it on Ubuntu.

Regards.

Benjamin