White space fixes in popup.js