[ /main.js : foundation() reapplied ]