Add back in script tag to fill in Jasmine version

Realized that some pages (like introduction.js) still need the version to
be filled in dynamically. Added it in with many more checks though, so
that it doesn't error out on pages that don't have version
displayed/jasmine loaded.