Established js file gasCheck.js to solve the group 1 assignment.