Added closing semicolons to remove jshint warnings