Object.mixin for JavaScript