update kudos.js to match kudos.coffee