Trying to fix ajax amongst other things.