properly use js-mode