Fixed bug in footer js.