checkwriting.js update