Refactor S3LocationFilter to support Ajax-updates of options.