add ajax document for permission.js