Tabs to spaces
Move json lib code to the top of the file
Turn ajax indexing into a function
Merge pull request #1 from yola/cleanup

Tabs to spaces