Call Variable From Another Function Javascript