JS for hazard plotting
Merge branch 'eddie'