Implemented ajax call for step loading