modify index.js

Signed-off-by: moxiaohe <21557622@qq.com>