Moved some functions in Application previously using v8 directly to insteed use ScriptingManager Factory