Updated datagrid with bug fixes. Converted to pure jQuery plugin.