style fix and updated example index.html