Unified Javascript module loader