worked on Summon Javascript