add ajax functionality

them newlines