Fixed #55 Refresh option appends data

Hi, this commit fixes your #55.
I added some divs for the headers and the footers so these will be overwritten at each init.
The ul lists are emptied before being used.