Potential fix for issue 15
Improve issue 15 approach to handle log_3x^2/5
Merge pull request #16 from mathjax/issue15

Since no one has raised concerns, I'm merging this in, to fix #15