utf8 charset for main.js and functions.js