Small whitespace changes.
HazardCurveParser (as a JS object) working, tests written
Made class object literal; standardized exception text