Moving out script and style code