syntax fix and added index.html sample