tied up ajax to response functions
Merge pull request #61 from ryanhburbank/jb

tied up ajax to response functions