adds ability to share object data with the window

adds document.errors when poll completes
adds an example

bumped version