working in jquery plugin