Adding support for loading partials for script elements
Merge branch 'partials'