Does the editor recognize JavaScript?

I created a script.js file for testing, and added a simple made up jquery line of code and it got all mad at me for using double quotes instead of single quotes.

In JS it doesn't matter, but in PHP it matters, so I'm wondering if it thinks I'm writing PHP?