Update and rename extend to baseteddy.js