make ajax calls named functions
Add setup instructions to README