add some ajax features