Adding Jasmine tests.

Problem with hideControls not being called via setTimeout().