Split TwigExtension to HTML and JS functions

In response to #73

Split TwigExtension to HTML and JS functions, Polish translations, Documentation update