If function dont use varname it is never defined with a parameter

This will make it jshint compatible. It will not reserve memory if not necessary.