Draft document for javascript unit test

JavascriptUnitTest.pdf file generated from JavascriptUnitTest.tex