add ajax document for struct.js