Introduce promises, first step
Remove callbacks from util.ajax