Experimenting with js mixins