Jumpbeacons are connected to the local dock, and have a linked relation.
if you hack the dock to friendly, the jumpbeacon will become friendly too.
the same is true for Lasertowers, however they have a separate enemies list that will revert them, and the dock back to enemy again (this is fixed in 1.2)
hacking the dock via diplomacy will then make the jumpbeacon and any lasertowers friendly