Improvement of javascript functions to catch all button type presses
Allow dynamjic grids to be sortable searchable and pageable