Add addscript mixin