Added some ajax stuff