Uploads and ajax calls should not have the html comment appended