small fixes in js-files