Fixed delegating events after ajax calls