Why was I aliasing $ to jQuery inside a function that was aliasing $ to jQuery.