some javascript. yay