Crossbrowser shape editor based on Raphael library