debugged loading of client scripts