Use js3-mode instead of js2-mode for editing JS; some configuration