Fixed typo; added semicolons

Fixed typo on line 130. Added semicolons to ends of object definitions
so this can be safely minified and/or combined with other scripts.