added footer.js

js for footer