move `mix` method to lang.js
adjust global namespace and `mix` method
fixes #28: add configurations for active mode
fixes #28: add configurations; adjust gruntfile;