updated todo.js
added support for data.maxPoints
updated readme