fix remaining errors in browser bundle, now actually tested it