added some javascript to make it cooler