Fix error when no charts exist and updatePageTitle is called
Merge pull request #36 from rgrochowicz/master

Fix error when a blank url is submitted