compatible amd

some library like jQuery has
```
if ( typeof define === "function" && define.amd ) {
    define( "jquery", [], function () { return jQuery; } );
}
```
after this, can directly load by seajs without wrap