Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
instead of using a variable like this, you can assign this.root_node_setup in beforeEach and it will be available in all of the tests