UI Fixes (move JS from footer to header).