added raphael demo code