Ajax get file, ArrayBuffer support, fix shift-jis state reset