Fixed url undefined error.

Fixes #34
Merge pull request #35 from firstandthird/bug/url-not-defined

Fixed url undefined error.