Separating var definition to follow plugin current style