use location.path variable for route params

Issue #54