added anchors and cleanup getlantern/lantern#1762