Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
Scott and I ran into this issue. When it renders it puts in a bunch of divs, this one was 'div[4]' from what I can remember. So I just was checking if any of the divs had the class modal before the error is raised. When I first wrote the tests it was the first one, it is the fourth one now, so to keep the tests correct longer, I wanted to make them less specific.