Made code simpler in IoServer

more over, I avoid runtime creation of attribute in react object.