Merge pull request #1 from stevenirby/feature/fix-timeout-error

Change api end point urls to use json end points. Add error message for ...
Update urls for javascript libraries