- update browser's script to show list of attributes.
- close connection of server when error occurs.