For Loop Over String Javascript Functions List