Added accelerometer watcher to index.html