Update index.js

fixed htaccess copying