Minor bugfixes

- Exported filename is now displayed correctly, including spaces and
special characters
- Corrected display bug in analysis tool
- Improved the non srt or non utf-8 file support
- Updated js and removed unused files