Update preprocess_latex.js
Update preprocess_latex.js

Previously, if the last formula cannot be parsed, scripts/preprocessing/preprocess_formulas.py will drop the last '\n'.
harvardnlp/im2markup,harvardnlp/im2markup