1.3.1 with more javascript fixes