Made a slight change to the JS file and added the flowchart for it as well