Fixed a bug in scriptLoader; all csp mochitests pass by now