loader.js: allow re-define

this is to support ember class extend