New ajax options, bugfixes