Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
I think this should be in a beforeTest block.  If you just put these variables in the describe closure, when the individual tests modify the data, they can affect other tests.  I think mocha advertises that it runs the tests asynchronously, which means there is a high likelihood of this occurring.