fix firefox hoisting issue by defining mixinProp() function outside of f...

...or loop