A simple javascript inheritance & mixin implementation