added closeness.js