added ajax error handling and github link