Loading LessCSS with jQuery
===

I am loading LessCSS from Google Code with jQuery, and want to access LessCSS' `Parser()` object by using `less.Parser`.

I can make this work by hacking in a `<link rel>` tag in `<head>`; however that loads `style.less` twice.  I would rather load `style.less` and use [`toCSS`](https://github.com/monolithed/toCSS) to insert it dynamically.  Doing so seems to require calling `less.Parser`.

Currently the code below will not insert css; I think it's because I am not using the right namespace for the `Parser` class.

How can I change the namespace of `less-1.3.0.min.js` after using `.getScript()` to retrieve `less` from Google Code?

<hr>

<!-- language: lang-js -->

    <script type="text/javascript" id="less_hack">
        // Load LessCSS javascript
        var less_file="/style.less";
        $(function() {
            var css="";
            $.getScript("toCSS.js")
            $.getScript("http://lesscss.googlecode.com/files/less-1.3.0.min.js",function(){
              $.get(less_file,function(data){
                new(less.Parser)().parse(data,function(e,tree){
                  css = tree.toCSS();
                });
              });
            });
        });
        // $('head').append('<link rel="stylesheet/less" type="text/css" href="'+less_file+'">');
    </script>

I am much more fluent in Python than JavaScript; apologies in advance if I have somehow missed a basic js concept.
