Just a little Javascript something something that I wrote for the thousandth time. Here's hoping I got any better at it in the mean time.