works with rhino
add charset (utf-8) to index.html