Added JavaScript Jasmine tests for main of Video Alpha 2.