Adjusted the ajax parameters; added additional files to support OAuth.