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

r? @lightsofapollo