Added dart implementation to index.html