Created Global Variables

Changed flowchart and JavaScript to include my first global variables