Added in more javascript