ajax dependency corrected