Events added and ajax done properly