complete jsrender grid

sorting, paging, switching views