move jade view to lib/page