Since Emacs 24.3 javascript-generic-mode is an obsolete alias for `js-mode'.