device ready added

added device ready to index.html