express middleware for single-page-app push-state url support