move footer to main.js