Added some semicolons to be jshint compliant.