Fixed an issue with var x = new foo() where the var keyword was not added correctly.