General nits for this file:
* two space indentation instead of four
* please review your use of semicolons
* missing license header
* missing `"use strict";`
* use of `'` vs. `"` for string literals