Initial fix.
Fixing Jasmine tests.
Fixing Jasmine tests. Refactoring tests.
Removing artefacts in Video Jasmine tests.
Further tweaking tests to make them pass even on laggy hardware.
Final cleanup of Video Jasmine tests before review.
Removed unnecessary trailing comma.
Disabling some Jasmine tests.
Answering comments on PR.
Fixing bugs.

After rebase with master, several issues came up.
Specifically, start and end time region got broken.
Removing unnecessary console.log() calls.