Adds dom.data methods

Signed-off-by: Christopher Rogers <chrissrogers@gmail.com>