node and browser example