Fixed a couple of undefined variable errors.
Fixed a couple of undefined variable errors. Also, changed "new Object();" and related syntax to literal object definitions, and similar for arrays.
Fixed a couple of undefined variable errors. Also, changed "new Object();" and related syntax to literal object definitions, and similar for arrays.
merged
mentioned in commit 0ea73e3a