make html language dynamic (fixes #119)