translating *.js files in Trados Studio 2015

I have to translate a .js file (JavaScript file) but there is no file type definition in Trados Studio for translating such files. I downloaded the .sdlplugin files for .json files but when I use the path extraction function to obtain the path rules for the string properties of the file by clicking "Extract..." in the "Parsing Settings" window, the *.js file is not visible.
What can I do to being able to translate .js files in Trados Studio?