Add required JavaScript files to console page template so that the menu works properly.