Js Create Array From String Javascript Methods And Functions