switch to using ajax for clicks

more responsive over rubbish wireless.