Use application/javascript instead of application/x-javascript for the Content-Type http header of JavaScript resources. Also see: http://stackoverflow.com/questions/9664282