Add support for disabling registering of client scripts