Add missing vars and a quick test to fix IE6 error
Add missing vars and a quick test to fix IE6 error

geary/election-gadgets-egypt.staging,geary/election-gadgets-egypt.staging,geary/election-gadgets-egypt.staging,geary/election-gadgets-egypt,geary/election-gadgets-egypt,geary/election-gadgets-egypt.staging,geary/election-gadgets-egypt,geary/election-gadgets-egypt.staging,geary/election-gadgets-egypt,geary/election-gadgets-egypt