dom ready plugin from requirejs