Adding script and stylesheet support for the layout and views