caching many needless jquery object creations