Added page error counter and jasmine test to ensure error free runner.

Fixes issue #121.