Small changes to try and get stacked ajax working