small cleanups
set up translations in javascript