mad decent javascript

ajax stuff and stuff and i'm so tired for real