js/filling in layout