Change "document", "scrollView" and "contentView" internal variables to properties