Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
we don't need to make sure that the function was called, we just want to make sure that the class was applied, however it was applied.