set charset=utf-8 for javascript

closes #10