Fixed some issues with usage of setInnerText, prevented unnecessary redefinition of var
Updated minified build