Fix demo.js bug
remove index.html (we have demo.html)
Fix some index related DDS bugs