condensed ajax forms into one method in steps.js