Changed the way tariff grid is rendered.
Now only JSON object is returned via ajax instead of the whole HTML for the grid.
The grid is constructed mostly on the client-side.