js_admin bugfix and more PEP8