refactor(theme.js): increase scope of form transform using js

Now we support many kinds of form using theme.js