added more javascript