Further refactoring to prepare for multi-language support
Added support for configuration of langs via customized markleteer.js