Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
we really do need to test this, but I think that just mocking the functions that it should call is wrong.

We need to see that when compatibility is set, the shelf should update the shelfitems.  For example, if you add a Tabs to the tree, the Section widget needs to appear on the shelf.