Flowchart Calling Function In Javascript With Parameters