delete type variable which seemed to sometimes (but not always) confuse the jwplayer,
resulting in "file is not a valid media provider" errors.
/* modules are non-graphical entities, similar to widgets */
IriSP.Module = function(Popcorn, config, Serializer) {
if (config === undefined || config === null) {
config = {}
}
this._Popcorn = Popcorn;
this._config = config;
this._serializer = Serializer;
};