Fixes bugs related to null/undefined syntax issues
goog.asserts.fail changed to throw new Error (because of compiler warning)