added an example html page and some simple javascript tests