Needs changing after this morning changes (see function getBreakpoint in detect.js — #1506)