added functions to browser build