Removing unused variables from pay.js route