anchor.diff: +<% url = Rails.application.routes.url_helpers %>
   var jobsworth = jobsworth || {}
   
   jobsworth.Grid = (function($){
  +
  +  var properties_companies_path = "<%= CGI.unescape url.properties_companies_path %>",
  +      tasks_path = function(format) { return resolve_url("<%= CGI.unescape url.tasks_path(format: '{format}') %>", {format: format}); },
   
     var columns = [
       {id: 'read',       name: "<span class='unread_icon'/>", field: 'read', resizable: false, sortable: true, formatter: UnreadMarkFormatter, width:16},
  
positive.code: 
    Grid.prototype.reload = function() {
      var self = this;
      $.getJSON("/tasks?format=json", function(rows) {
        self.dataView.setItems(rows);
        self.grid.invalidate();
        self.grid.render();
  
negative.code:           formatter: HtmlFormatter
          });
        }
        $.getJSON(tasks_path('json'), function(rows) {
          self.createGrid(rows);
        })
      })
  