improved demo file index.html