added simple example based on browserify