a little documentation added in repeater.js and js tests added