Works with RequireJS

Extends the Model an other way.
remove  if (!attr) continue; because it does not scheck on require tag.
(needs refactoring)