Changed the structure of subtitles.js

It was a little weird.