Consolidate the browser check into ./web/index.js; enable a more capable backend if on Chrome