added German translation. minor bug fixes to the JS side