Remove responsive footer js out of view file

Created a new responsive.js file for the js I had in temporarily in the view. Also refactored the js.