added points.js as a dependency