updating footer

removed some unused js and wrapped js in a is_single statement 
cleaned up some more here and there