move js code in audit.js