Changes to addon cookie

NodeConfig.js:
Added $scripts to initial function and had it return itself at the end of the file

_node_settings.mako:
Added in a script at the end to ready the NodeConfig.