Update so works with browserify