How to use the encodeURL script?

How to use the encodeURL script?

I am trying to show a shorter URL in the address of my form. Currently it looks like this: http://creator.zoho.com/schalfant/vin-database-form/form-embed/VIN_Database_Form/zc_InpFieldWidth=200px&zc_TextAreaWidth=400px&zc_TextAreaHeight=200px&zc
_DropDownWidth=200px.
 
I would like it to look like this: http://creator.zoho.com/vin-database-form/
 
To my forms On Add / On Load I added the encodeURL script
 
myURL = "http://creator.zoho.com/VIN_Database_Form/";
encodedURL = encodeUrl(myURL);
 
But the url address still shows the longer one. What is the correct way to use the encodeURL to achieve the shorter address?