removed unwanted markup
text gives all the languages when no language specified
syntax errors that escaped earlier
added a template which could be included intoa any template by user