A crude proof-of-concept of a mixin-system for Javascript based on pure functions.