Some changes. No idea if I made them.
Ajax likes implemented