add device gap plugin and modify index.html to match full example.