Stopped crash for repositories with <= 100 issues.

I made a small change to github.js to check if a link exists. This stops the crash.