updated client to be compatible with most recent browserify