To achieve that, add following lines to your VSCode settings.json:
"files.associations": { "your_file.js": "plaintext" }
Or if you want disable syntax highlighting on specific file extension
"files.associations": { "*.js": "plaintext" }