Bug 915115 - Set an explicit responseType so JS is not interpreted as HTML/XML

r? @lightsofapollo