Python scripts: PEP8 fixes
github.js: remove unneeded parentheses