Check for implicit global variable declaration

When a global assignment is made without "var" it will still be injected into the global scope.  I added a check to identify these cases and treat them like variable declarations.

i.e.
```  
var foo = 4;
bar= 5;
```  
Currently only `foo` would be listed as a global var, but both `foo` and `bar` will be put into the global scope.