setting config.action_dispatch.x_sendfile_header to nil value
changed text javascript to text x-mathjax-config in scripts.html