modify .slate.js