Replaced $ with jQuery for extra pedantry.