footSlot main JavaScript