Cool. Its working fine for me. Thanks Sudipto.
In my example, my set attribute is like this :
<set label='Hong Kong' value='235' link="JavaScript:alert('hi');"/>
and now i replaced it with,
<set label='Hong Kong' value='235' link="j-alert('hi')"/> [NO SEMI COLON TO THE END JS FUNCTION]
And its working fine.
Thanks Again.