js footer improvements