got more javascript working