diff --git a/docs/standards/javascript.md b/docs/standards/javascript.md
index 9655571e9266e7d731b1639c559716d046270b34..1266e54733f3cab96c4f5e4c9e214c3b47ff2d6c 100644
--- a/docs/standards/javascript.md
+++ b/docs/standards/javascript.md
@@ -109,10 +109,10 @@ If your code needs to work across multiple versions of CiviCRM, where jQuery was
 ```javascript
 (function($) {
   // your code here
-})(CRM.$ || cj)
+})(CRM.$ || cj);
 ```
 
-For more examples you can take a look at a [gist](https://gist.github.com/totten/9591b10d4bc09c78108d) from Tim Otten on javascript alternatives For more information on javascript closures, [here is some further reading](http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth).
+For more examples you can take a look at a [gist](https://gist.github.com/totten/9591b10d4bc09c78108d) from Tim Otten on javascript alternatives. For more information on javascript closures, [here is some further reading](http://www.adequatelygood.com/2010/3/JavaScript-Module-Pattern-In-Depth).
 
 ## Accessing CiviCRM API from JS