Update newjavascript

fixed "lenght"