Added onPageProcessed event to smartypants titles