Added audit fields and more javascript functionality to solution