remove calls to shelljs from previewprocessor