Java script file for INFO2180-Project02.