Fixes JS to use weather and fixes #31

Previously shouldWalk() was not being passed any of the wait times or weather values. This has been fixed.

#31 has also been fixed.