Added guard, not useful since it stays running and I cannot do anything else in the console.  DRYed the titles of static pages