Clean up some old code in main.rigger.js