`$script.done` should only be invoked if the `script.js` is being used. You can check this by checking if `$script` is a function in the global namespace.

```js
...
else if (typeof $script === 'function') {
  global.{{cookiecutter.short_name | capitalize}}NodeConfig = factory(ko, jQuery);
  $script.done('{{cookiecutter.short_name | capitalize}}NodeConfig');
}
..
```

Also, as shown above, the `short_name` should be capitalized.