You don't need a gradient in this case.  As noted in the JS, I'm hoping you can do this without the gradient at all.