Changing this to just use the input passed into the `$.each`