ajaxUploadBehavior now only gets removed once

preventing exception from occuring