Use js2-mode for JavaScript but js-mode for JSON; add dockerfile-mode