added JS sortable table framework, fixed messaging system, ajax unit tests