Implemented Issue #35 and fixed little JS issue

The small js Issue was that if a patient got linked to a new johnDoe
after being linked it showed, the img was HUGE because the parent got
deleted on excident