Ajax method create