Removed commented code
Added some more comments
Added functions reload and setSource along with
some javascript in the test page.
Reload is not implemented yet, but setSource should work.