Whitespace/JSLint/PEP-8 tweaks

Slight (UNTESTED) cleanup to improve your upstream PR :-)