added more javascript adding stuff