Added closing semicolons to remove jshint warnings

The library as such worked fine, but I'm using shortcircuit in some test code that's run through the browser by compiling with browserify. We have a build step that checks files using jshint, and I'm getting errors since browserify copies the entire source into the compiled file.

This commit just adds the semicolons where needed, so that the warnings disappear.