added some more java script