Added unicode support

If the url names where in unicode, they would not be included in the generated javascript. This should fix that.
Merge pull request #4 from chripede/patch-1

Added unicode support