Condense JS, Move JS to footer, Tweak Popup