adapted json_prolog.js to use the global ros handle -- required to use the modified port when running knowrob inside a docker container