add example of how to run on your browser as test. and bug fix.