emacs: smart mode line respect js directory