Bind an object to a dom node