Global configuration for Custom functions is not currently defined.

You can create custom JavaScript functions here by writing simple commonjs module. See the example.