move all script/img loading to .tag dsl method