xform refactor
transfer ie htc to common js