fix content type handling in the clientside js, this will break the sample backends because they arent signing with the correct mime-type