Fixed more javascript