add less mode, closure-templates mode, and json mode