I have been looking into trying to find a good way to define this in javascript, and honestly I\'m kind of hitting a wall. I don\'t think it is overall complicated, however, loo