Checking for the existence of body; this seems not to work in plnkr