jetty: Fixed version-variable regex and cleaned up code.