Made code more pythonic, removed unminified javascript libraries from repo