github.js: simplify code
github.js: add JSHint settings
github.js: fix author.

When there is no github user just use commit.author.name otherwise the github login name.