Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
I see what you mean now. I made a sample testView in the portion above to test the underlying functions. Is there a different way I should approach this?