1) Refactoring browserOverlay.js to be more redable.
2) Updating history popup code to use moveover event instead of mouse-move event.