fixed a bug with urlencode. now this is done in javascript on the webgui