Added some missing "var" declarations