Share main DocumentUp script among pages