Added local cache functionality to jQuery plugin.