added some javascript that doesnt work