added some missing .bind() calls in links.js