changed ScriptsHook to deregister, enqueue and dequeue multiple scripts with one method call