trim unnecessary js from the theme, really not even the theme anymore