Update main.js

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