Came up with an example in my comment box on my js file