Fix PEP8 violations; add Javascript linting.