JavaScript plugin based on JQuery&&Raphael