improve templates - add java script for select all checkboxes
check return value of unshare