anchor JPG urls with $ so only resources ending in JPG are matches in the jax-rs route