Moved the call to startValues inside the if
Added more parameters to the step function
Make jshint happy
New build