add javascript testing code
index.html

* add code to test some javascript stuff
add some testing files to the library
lib/*

* add some files to test javascript file reading