Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
you can just put this inside the test case, there's no reason to split the setup out if there is only one test.