fixed TypeError: Cannot call method 'match' of null that exists on /contact, /space, /thankyou etc, basically all the pages except the main app page; fix SPOT-1123