Pass pageData to the init function

Signed-off-by: Pascal Piche <pascal@nitriques.com>