Moved functions to NOVA.js

All functions declared in the NOVA-object to NOVA.js