rewrite 'talents' code without zepto