I think that speaks more about being a bicyclist on the roads of New Jersey than the dangers a cop faces.
It's funny when people complain about HN being too US-centric, when in reality it's CA,NY/NJ, and MA centric. NJ is awash in money flowing from Wall St, so I don't feel bad that their cops make a decent wage.
The biggest danger most cops face is being hit while standing by a car they've pulled over. That totals to ~60mins if you spend a full day issuing traffic citations. There are much more significant risks the general public faces in their daily lives.
The entire world is not New Jersey- I'm sorry your posh township doesn't have more going on, but my guess is the garbagemen, plumbers, carpenters, etc make similar amounts. Move to Camden, they don't even have a police department anymore so I'm sure you'll love it.