Applied layout to the page and some JS coffee