Typintor and JavaScript

The documentation on usingJavaScript with Typinator says that the file must be a “.scpt’ file. Does this simply mean a text file with the suffice .scpt or is this a specific type of file (like an AppleScript file, but for JavaScript?)