Create Array From String Javascript Functions With Parameters