fixed 1 js-bug