Fix for bug BLD-277

"There is a white panel over a non-youtube video."
When the captions file is not specified, we simply do not render the captions panel.
Added Jasmine test for bug fix. Updated comments.
Fixing code as per suggestions on PR 771.
Remove caption panel when anything bad happens.

Now the captions panel will be shown with captions only after successful
retrieval of captions.