Fixed several bugs

Fixed:
Extra white space at the bottom of Chrome extension popup
Adding a character at the beginning of an equation caused it to appear
at the end
Placing multiple integral, sum, etc. signs caused only the first one to
appear
Adding trailing backslashes or typing \html would cause the output to
break