Changed prefill behavior to operate on the content div instead of the whole document