add searchPages helper
fixed comma in package.json