footer styles
javascript refactor