Modified js.
Merge branch 'develop'
Accidential termination prevented and playback successfully saved.
Updated accidential termination functionality.
Merge branch 'develop'