A javascript application fixing subtitle synchronisation