Custom Settings in JavaScript on Visualforce Page

Sample Code:

<apex:page>
    <script type="text/javascript">
        var url = "{!$Setup.TestCustomSet__c.URL__c}";
        alert(url);
    </script>
</apex:page>