added localStorage & optimized the .tex-file a little