Main Method String Javascript Methods Array