updated .slate.js