Client-side code for glass to push light sensor values to sever