for those having issues with js files (and other static files) I found adding this:

To the HTTPHandlers node in web.config seems to work, no idea why as surely thats what its doing by default but there you go.