[JS] auto align footers to the bottom