Changed the model.remove method to use kwargs rather than explicitly specify progress as a parameter.  Also, changed encodeURIComponent to window.encodeURIComponent per request, and stopped using escapeHtml where it was not necessary.