I have `jQuery` and a `jQuery` plugin loaded via `RequireJS`. 

This is how my `requirejs.config` looks like:

```
requirejs.config({
baseUrl: "http://mysite.example.com",
"paths": {

    // libraries
    "jquery": "Static/js/library/jquery/jquery-1.10.2",
    "jquery_sortable" : "Static/js/library/jquery-sortable/jquery-sortable",

    shim: {
        'jquery_sortable': ['jquery']
    }
}
});

```

When I refresh the page two times or more very quickly, `sometimes` I get an exception in the plugin code that:

`Uncaught ReferenceError: jQuery is not defined`.

Basically, my plugin does not use the `shim` I have set for it.

What is the most reliable way to specify my `shim` config ??