[ refactoring : per jshint ]