Fixed RangeError (issue #299)
Updated ES version