leverage the browser flag in package.json, fixed up the set for server