added some javascript to do things