Jasmine test to verify that only one check for YT is made.

We test for the number of ajax calls made when there are 3
videos on the page.
Fix for test.

Must clear the state youtubeXhr variable before counting number
of ajax calls.