content/static: correct indentation in javascript
content/static: correct indentation in javascript

Fixes a couple whitespace issues and missing semicolons in details.tmpl,
and simplfies a conditional.

Corrects usage of == to ===

Change-Id: I7e2168ee66dde3a090c9a5f6254d6b3d0d212d19
Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/589959
Reviewed-by: Julie Qiu <e6cb64861edcc38971590ff27c111e0e672de045@google.com>
CI-Result: Cloud Build <ea5729d4cf3392b9d382b6ca272c65aa27554f44@system.gserviceaccount.com>

golang/pkgsite,golang/pkgsite,golang/pkgsite,golang/pkgsite