oops left a big ol unused block of code in the JS file