add js and style for layout