Davetest

For review of apps.js
var should be named sensorPromise to better convey with [google javascript style guide](https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Naming)