Refactoring and initial JS stuff for transfering responsibilities
Working on the form for transferring permissions