Lexer updates, removed stray jQuery references and refined underscore integration/fallbacks.