Universal Module Definition patterns for JavaScript modules

I have not changed anything from the code, just moved into /* your code */

```javascript
(function(factory) {
    if (typeof define === 'function' && define.amd) {
        define(['jquery'], factory);
    } else if (typeof exports === 'object') {
        factory(require('jquery'));
    } else {
        factory(jQuery);
    }
}(function($) {
    /* your code */
}));
```

It's working better than before, because now we can use AMD!! :+1: