Small JS utility for publishing custom breakpoint events