Ajax stuff

Yea, I added some ajax stuff, thats about it.