small addtion to expose encodeForm and add textarea css styling

- expose encodeForm function
- added textarea css styling, same as input