fixed README addData call with opts

I don't do a lot of javascript programming, but as a new user I had to do this to get the README example to work.