Update sensors in the step function. See #20
Fix jshint issue with breaking before &&