figuring out the script output on document write