Did you test the website locally by commenting/uncommenting those lines in the web.config?

MSDN ScriptResourceHandler