fixed ajax query in create.js