Parameterize a javascript object and create url

By Anatoly Mironov