adds javascript to remove footer when #modal is present on url