fix `responseType` in older browsers (fixes #17)