clean up some python and js / html stuff