migrate to nashorn

Almost all tests pass