REFACTOR: move quitLooking function to refresher.js
REFACTOR: make global config package