adds support for passing json url options to javascript url helpers
0.2.0