Extended plugin framework to allow serving custom dynamic files

Extended plugin framework to allow serving custom dynamic files. Also extended script tag generator to support dart.