Handle archive failure in single link JS.

Fixes #473
Merge pull request #734 from jcushman/status-check

Handle archive failure in single link JS.