Update futureState.js

Fixing regex match urls when only "/" is used in url or urlPrefix