Minor jQuery plugin refactoring for consistency

Variable name refactoring to match with other JS code