8044638: Tidy up Nashorn codebase for code standardsReviewed-by: lagergren, sundar
8015350: Array.prototype.reduceRight issue with large length and indexReviewed-by: attila, sundar, lagergren