Javascript simple mixins