Fixed bad em-dashes.

There were some actual em-dashes in the Javascript documentation which were turning into strange stuff in the browser. Changed 'em to &mdash;