fixed some issues with injecting title and page title, added new examples