Pass null as the initial value to reduce so that calling getRoute with an invalid route does not return the first type in Object.keys(routes)
Merge pull request #38 from ameyp/invalid-route-fix

Pass null as the initial value to reduce.