adding of success handler for ajax request for bucket + example bucket