simplified slate.js setup