i was reffrering the js as following
but it creates problem when using with asp.net ajax extension
Slightly change it with closing of script
or use the best practice syntax and add any third party script as follow.
<asp:scriptmanager id="myScripts" runat="server">