added set and get functions along with syntax. Have to figure out stack overflowing due to recursive js type