Add base layout and external js files