Update 10-javascript.md

minor writing style changes, fixed , --> .