add sweet.js as a dev dep
cleanup trailing ;
add support for slice's optional arguments