switched footer to main.js