Pass result from determineWaitOrWalk to shouldWalk.
Fixes #31.
Merge pull request #32 from Tanner/js-fixes

Fixes JS to use weather and fixes #31