Script tag is gray in atom

whenever i write script tag in atom, it is gray and the code actually doesn’t work. i don’t know what the reason is.

I had the same today and spent nearly 6 hours trying to get it to work.
In the end it started working on its own.
Wonder what it’ll be like tomorrow