little js refactoring
revert jetty-env