cleaned up popup.js
cleaned up html files (DOCTYPE etc...)
fixed iterations over listeners, tabID -> tabId