Fixed typos

And some minor rewordings
One item to review: s/Java/\1Script/ - not sure what is intended here