Move the resolve script version method to the base class and remove the widget behavior