changed ajax in design.js