Simpler Nashorn code without synchronized