tidy up of includes - socket connection on client side added - cleaner jquery capture of checkboxes