Make JS return null if breakpoints aren't properly set up