Make JavaScript version more consistent with Python and PHP versions.