add ajax functionality

cool.