js guesses highlighting mode from file name