force docReady.isReady if AMD; Fixes #2