mw.loader: Use Object.create() instead of $.extend() where possible