Added latex support

* Export to pdf support
* Properly recognize latex file format
Umlauts for useful difficult to reach functions
Added syntax checker for javascript