Incorporated example into index.html