remove unused dependencies, use browsersync instead of broken livereload, handle errors