Fix up Jasmine tests; remove HTML5 dependency.

The Jasmine tests currently all fail, apparently due largely to a
change in how <nowiki> is processed -- but at least they run now.
Looks like they've been neglected for a while; probably broken since
at least dfcd5a21d1a312b841df4575a175bb7959cc8cff on Jan 14 2013.

Change-Id: I0383917444d054416bf1aaabf7fae470361133a2
Merge "Fix up Jasmine tests; remove HTML5 dependency."