Improved jquery.funk