Make idlharness.js support typedef.