Fix ajax problems with lists page.
Merge pull request #20 from Ravenstine/ajax_fix

Fix ajax problems with lists page.