make sure document is available before accessing it
add empty end method to writable
0.0.2
use Object.create
0.0.3