Changed .find to jQuery context, minor modifications for better minification