updated plugin to pre-cache data added using addMethod and added better support for ajax