Removing unnecessary 'var'

Fixes jshint warning. `previousWidth` is already defined as a function argument.