Cannot use 'javascript' because another language has been specified earlier in this page (or was implied from a CodeFile attribute)
<p>I have a website in which I am including a javascript file from this link:
<a href="http://jqueryui.com/demos/draggable/#sortable" rel="nofollow">Code Snippet Page</a></p>

<p>I am getting this error: Microsoft JScript runtime error: Object expected</p>

<p>Here is my code:</p>

<pre><code>     &lt;%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ATP_Assignment.Default" %&gt;

&lt;asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"&gt;
&lt;/asp:Content&gt;

&lt;asp:Content ID="Content2" ContentPlaceHolderID="topArea" runat="server"&gt;
    &lt;div&gt;
        &lt;div id="matchUp" class="floatLeft"&gt;
            &lt;div class="tabTop"&gt;
                &lt;div class="tabTL"&gt;&lt;/div&gt;
                &lt;div class="tabTM"&gt;
                    &lt;font class="title"&gt;Player Matchup History&lt;/font&gt;
                &lt;/div&gt;
                &lt;div class="tabTR"&gt;&lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="tabMiddle"&gt;
                &lt;asp:DropDownList ID="ddlPlayer1" runat="server" Height="16px" Width="146px" 
            DataTextField="Name" DataValueField="Id"&gt;

        &lt;/asp:DropDownList&gt;
        &amp;nbsp;&amp;nbsp;VS&amp;nbsp;&amp;nbsp;
        &lt;asp:DropDownList ID="ddlPlayer2" runat="server" Height="16px" Width="150px" 
            DataTextField="Name" DataValueField="ID"&gt;

        &lt;/asp:DropDownList&gt;
                &lt;asp:Button ID="Button1" runat="server" Text="Click" onclick="Button1_Click" /&gt;
        &lt;br /&gt;
        Player1: &lt;asp:Label ID="lblPlayer1Score" Value="" runat="server"&gt;&lt;/asp:Label&gt;&amp;nbsp;&amp;nbsp;
        Player2: &lt;asp:Label ID="lblPlayer2Score" Value="" runat="server"&gt;&lt;/asp:Label&gt;
            &lt;/div&gt;
            &lt;div class="tabBottom"&gt;
                &lt;div class="tabBL"&gt;&lt;/div&gt;
                &lt;div class="tabBM"&gt;&lt;/div&gt;
                &lt;div class="tabBR"&gt;&lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div id="favList" class="floatLeft"&gt;
            &lt;div class="tabTop2"&gt;
                &lt;div class="tabTL"&gt;&lt;/div&gt;
                &lt;div class="tabTM2"&gt;
                    &lt;font class="title"&gt;Favorite Player List&lt;/font&gt;
                &lt;/div&gt;
                &lt;div class="tabTR"&gt;&lt;/div&gt;
            &lt;/div&gt;
            &lt;div class="tabMiddle2"&gt;
                Enter Fav JQuery Here!!!
            &lt;/div&gt;
            &lt;div class="tabBottom2"&gt;
                &lt;div class="tabBL"&gt;&lt;/div&gt;
                &lt;div class="tabBM2"&gt;&lt;/div&gt;
                &lt;div class="tabBR"&gt;&lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="clearFix"&gt;&amp;nbsp;&lt;/div&gt;
    &lt;/div&gt;
&lt;/asp:Content&gt;
&lt;asp:Content ID="Content3" ContentPlaceHolderID="contentArea" runat="server"&gt;
    &lt;div class="padding"&gt;
        &lt;div&gt;
            &lt;div id="playerList" class="floatLeft"&gt;
                &lt;font class="title"&gt;Player List&lt;/font&gt;
                &lt;br /&gt;
                   &lt;asp:DataList ID="PlayerList" runat="server"&gt;
            &lt;ItemTemplate&gt;
                Name:
                &lt;asp:Label ID="lblFirstName" runat="server" 
                    Text='&lt;%# Eval("FirstName") %&gt;' /&gt;
                &amp;nbsp;

                &lt;asp:Label ID="lblLastName" runat="server" 
                    Text='&lt;%# Eval("LastName") %&gt;' /&gt;
                &lt;br /&gt;
                Rank:
                &lt;asp:Label ID="lblRank" runat="server" Text='&lt;%# Eval("Rank") %&gt;' /&gt;
                &lt;br /&gt;
                Country:
                &lt;asp:Label ID="lblCountry" runat="server" Text='&lt;%# Eval("Country") %&gt;' /&gt;
                &lt;br /&gt;
&lt;br /&gt;
            &lt;/ItemTemplate&gt;
        &lt;/asp:DataList&gt;
            &lt;/div&gt;
            &lt;div class="smallPadding"&gt;&amp;nbsp;&lt;/div&gt;
            &lt;div id="video"&gt;
               &lt;/div&gt;
            &lt;div class="clearFix"&gt;&amp;nbsp;&lt;/div&gt;
        &lt;/div&gt;
        &lt;div id="tweet"&gt;
            &lt;font class="title"&gt;Recent Tweets&lt;/font&gt;
            &lt;br /&gt;

        &lt;script type="text/javascript"&gt;
            alert($ &amp;&amp; $.fn ? $.fn.jquery : "jQuery not defined")
                  $(function () {
                        $("#favorites").tweet({
                            avatar_size: 32,
                            count: 3,
                            username: "atpworldtour",
                            favorites: true,
                            loading_text: "loading list..."
                        });
                    });

           &lt;/script&gt;

        &lt;/div&gt;
    &lt;/div&gt;
&lt;/asp:Content&gt;
</code></pre>

<p>Where should I put this code:</p>

<pre><code>&lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"&gt;&lt;/script&gt;
</code></pre>
