Simplify code for typechecker.  Moved dom.byId() into
checkInitialValue.
Merge branch 'bvds'