refactored client-side rendering to use vdom createElement insteadof vdom stringify