- adding addJsError for public/proxy api.
- Initalize jsErrors with zero and increase on error instead. Adding error to jsErrors for formatting later. This will also fix so that jsErrors will not be empty when reporting in json format.
- formatting js error with backtrace when plain-format
Make jslint happy
Log the backtrace and move the log of error message close to it.
Merge branch 'master' of github.com:vanng822/phantomas into vanng822-master
jsErrors: move the code to the module (core cleanup)
jsErrors: more cleanup
Merge pull request #107 from macbre/vanng822-master

Reporting jsErrors backtrace for format json and plain