Move object 'pageOptions' into 'window'.