Add slate.js file