#4: added loader for ajax