Old documentation
To configure a script for Javascript routing it must be listed in the javascript.conf file:
[general] routing=example.js