check for errors on browserify