javascript additions to readme