Detect the programming language of any file in JavaScript