fix exception in insight mocha browser tests

The Insight tests were actually broken and not running due to trying to access
the nonexistent process variable. The proper way to check for this is to see if
its type is undefined before trying to access it.
Create CHANGES.md
Merge pull request #754 from ryanxcharles/bug/fix-insight-mocha-browser

fix exception in insight mocha browser tests
fix error and improve performance