javascript-mode is alias for js-mode; should be js-mode-hook otherwise it does not work