[fix] index.js syntax fault