added some fun javascript