consistent usage of $ vs this