Use href rather than construct url for last cookie
Merge pull request #2078 from jsbin/fix/2075

Use href rather than construct url for last cookie