hazard_viewer.js ~ extend the single curve function to distinguish single curves from mixed curves and add and remove them from the map accordianly