Reviewed Additional Javascript Tests

@clarkbarz reviewed the javascript tests in pull request #128, which was requested in #127. 
Easy enough fix to make it an array. But would you rather having this as a test in something like shelves/shelves?