removed before/after callback from onload