Go to IDE Settings -> File types and look for Text files in Recognized file types. There might be an added pattern named root.js

For newer versions this setting is found in Editor -> File types

Go to IDE Settings -> File types and look for Text files in Recognized file types. There might be an added pattern named root.js

For newer versions this setting is found in Editor -> File types
