Cleanup and clickjack

Clickjack anchors when they link to external sites.

Use navigator.onLine to check whether or not to open the link. If
offline, we toast the user.