contextSelector support in ajax + fixes