Update latex.js

Most of LaTeX is text. Word wrapping etc. should behave accordingly.
Merge pull request #2048 from dfelder/patch-1

Update latex.js