Added an example for different implementations for browser/node