updated repeater.js