update ajax function names

* use underscores in ajax function names
* fix #26 by moving call to scrollTableBody to end of editresults()