Fleshing out anchors.js