Add slate.js with new javascript syntax
Remove old style slate syntax