setInterval, not timeout!
removed unused xhr2lib