Ajax button fixes