Fixed jshint's '[L28:C15] W081: Too many var statements.' warning