Carry over JavaScript Jasmine tests from jmclaus/videoalpha2_js branch.