PEP008 changes, fix for gunicorn deploy, fix for js error on login page