You were absolutely correct in your actions, and your way of thinking. However, there would have been an altercation b/tween me and the person kicking my dog...couldn't have stood there and allowed that to happen!
One thing about JRTs...they are terriers, just like APBTs and are high sprung (moreso than the APBT), dog aggressive and have dominance issues unless trained otherwise at an early enough age! Do you know who the owner of the JRT is? If you do...call Animal Control and report it as a neussance, and explain what happened. If the AC does its job correctly, then they'll cite the owner, and hopefully, the dog won't be allowed to run loose. Of course, there's always the possibility that the dog escaped from the yard, and the owners were unaware, but that's not an excuse.
Anyways, good luck! And welcome to the board.