/**
 * Music player in browser
 * author: kubosho_ <ta2@o2p.jp>
 * Repository: https://github.com/kubosho/music-player-in-browser
 * License: MIT
 */

(function (global) {
    'use strict';

    var loader = require('./lib/loader');
    var create = require('./lib/create');
    var sound  = require('./lib/sound');

    function MusicPlayer () {
        if (!(this instanceof MusicPlayer)) {
            return new MusicPlayer();
        }

        this.loader = Object.create(loader);
        this.create = Object.create(create);
        this.sound = Object.create(sound);
    }

    global.MusicPlayer = MusicPlayer;
})(this.self);

@@ -144,17 +144,37 @@
 IT%0A */%0A%0A
-(
+window.MusicPlayer = 
 function
@@ -175,22 +175,16 @@
 nction (
-global
 ) %7B%0A    
@@ -597,28 +597,18 @@
     
-global.MusicPlayer =
+return new
  Mus
@@ -619,21 +619,11 @@
 ayer
+()
 ;%0A%7D
-)(this.self)
 ;%0A

Return MusicPlayer object