Update srt.js

Some srt files are not trimmed correctly and could have some empty line breaks at the beginning or the end.
Merge pull request #1 from eduardor2k/patch-1

Update srt.js