An AMD loader plugin for detecting DOM ready