real index.js created

solve issue #5