configure by raphaeljs