JavaScript: JavaScript not Java translation to es