better variable declaration lets solve problem after minification