require for the browser