Update main.js

Add multilanguage